package xin.yangshuai.basic01.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * DateUtils
 *
 * @author shuai
 * @date 2022/10/26
 */
public class DateUtils {

    public static void main(String[] args) throws ParseException {
        String autoDateAt = "2022-10-29T08:57:31.000000Z";
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'");
        Date parse = dateFormat.parse(autoDateAt);
        System.out.println(parse);
    }
}
